DX11 GET DEFAULT VERTEX LAYOUT

Retrieves the default vertex layout that is used if you don't specify your own to certain functions.
This vertex layout contains:


  • POSITION - three 32-bit floating point values representing the object-space relative position of the vertex

  • COLOR - four normalized byte values (or a DWORD) representing vertex colour

  • NORMAL - three 32-bit floating point values representing the normal of the vertex

  • TEXCOORD - two 32-bit floating point values representing the texture coordinates of the vertex (for texture stage 0)

.

  Syntax
Return Dword = DX11 GET DEFAULT VERTEX LAYOUT()
  Parameters
This function does not take any parameters.

  Returns

The default vertex layout.

  See also

VERTEXLAYOUT Functions Menu
DX11 Function Categories